/*******************************************************************************
*  file    : twmainwindow.hpp
*  created : 29.09.2013
*  author  : Slyshyk Oleksiy (alexSlyshyk@gmail.com)
*******************************************************************************/

#ifndef TWMAINWINDOW_HPP
#define TWMAINWINDOW_HPP

#include <QMainWindow>

namespace Ui {
class twMainWindow;
}


class QRegularExpressionValidator;

class twMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit twMainWindow(QWidget *parent = 0);
    ~twMainWindow();
public slots:
    void onTextChange(const QString &txt);
private:
    Ui::twMainWindow *ui;
    QRegularExpressionValidator* validator;
};

#endif // TWMAINWINDOW_HPP
